/* ----------------------------------------------------------------------------
* File: sys_logger.h
*
* Desc: CSysLogger class declaration for system logging
*
* Created: 04/03/2011, by Alexey Korshunov
* ---------------------------------------------------------------------------- */
#ifndef _SYS_LOGGER_H_
#define _SYS_LOGGER_H_



/************************************************************************/
/*	CSysLogger class to communicate with system logger					*/
/************************************************************************/
class CSysLogger : public ILogger
{
public:
	CSysLogger();
	~CSysLogger();

	//// Get instance of logger
	//static CSysLogger* GetInstance(char *fileName = NULL)
	//{
	//	if (instance == NULL)
	//	{
	//		CMutexGuard guard;
	//		if (instance == NULL)	
	//			instance = new CSysLogger();
	//	}
	//	return instance; 
	//}

	//// Destroy object
	//static void DestroyInstance()
	//{
	//	delete instance;
	//}

	// Print message
	virtual void Print(const char *msg, ...);

private:
	//static CSysLogger* instance;
};


#endif // _SYS_LOGGER_H_